package com.base.component.ai.platform;

import java.util.function.Consumer;

import com.base.component.ai.platform.core.bo.common.ImageCompletionsBO;
import com.base.core.head.dto.ai.MessageImageDTO;

public interface ImageCompletionsHandler<P extends MessageImageDTO> extends BaseCompletionsHandler {

	
	/**
	 * 流式返回
	 * @param param
	 * @param frameConsumer
	 */
	void execute(ImageCompletionsBO<P> param,Consumer<String> frameConsumer);
	
}
